import axios from 'axios'
var url="https://m.maizuo.com/gateway?type=2&cityId=110100&k=2348893"
// 导出一个promise对像
/*轮播的ajax请求*/ 
export default  axios({
       url,
      headers:{
        "X-Host":"mall.cfg.common-banner",
        "X-Client-Info":`{"a":"3000","ch":"1002","v":"5.0.4","e":"1632883373297662708449281","bc":"110100"}`
      },
      method:"GET"
    }).then(function (response) {
         return response.data.data 
            })
            .catch(function (error) {
                console.log(error);
            });
